//
//  UIViewController+MonitoringNetwork.h
//  template_test
//
//  Created by stone on 16/9/5.
//  Copyright © 2016年 stone. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface NSObject (SNExtentsion)
- (void)expendTime:(void (^)())block;
@end

@interface UIViewController (MonitoringNetwork)

- (void)receivedWiFiNotification:(NSNotification *)notify;
- (void)receivedWWANNotification:(NSNotification *)notify;
- (void)receivedNotReachableNotification:(NSNotification *)notify;
- (void)receivedUnknownNotification:(NSNotification *)notify;

@end

//@interface UITableViewController (MonitoringNetwork)
//
//- (void)receivedWiFiNotification:(NSNotification *)notify;
//- (void)receivedWWANNotification:(NSNotification *)notify;
//- (void)receivedNotReachableNotification:(NSNotification *)notify;
//- (void)receivedUnknownNotification:(NSNotification *)notify;
//
//@end
//
//@interface UICollectionViewController (MonitoringNetwork)
//
//- (void)receivedWiFiNotification:(NSNotification *)notify;
//- (void)receivedWWANNotification:(NSNotification *)notify;
//- (void)receivedNotReachableNotification:(NSNotification *)notify;
//- (void)receivedUnknownNotification:(NSNotification *)notify;
//
//@end
